{{--底部--}}
<div class="jsp-layer footer">
    <section class="container">

        <div class="row">
            {{--联系信息--}}
            <div class="col-md-9 col-sm-8 col-xs-12 logo-contact">
                <a href><img src="{{$siteConfig['logo_image']}}" alt="{{$siteConfig['name']}}"></a>
                <ul>
                    <li>{{$siteConfig['company_address']?__('common.address').'：'.$siteConfig['company_address']: ""}}</li>
                    <li>{{$siteConfig['company_email']?__('common.email').'：'.$siteConfig['company_email']: ""}}</li>
                    <li>{{$siteConfig['company_phone_number']?__('common.phone_number').'：'.$siteConfig['company_phone_number']: ""}}</li>
                    <li>{{$siteConfig['company_fax']?__('common.fax').'：'.$siteConfig['company_fax']: ""}}</li>
                </ul>
            </div>
            {{--二维码--}}
            <div class="col-md-3 col-sm-4 col-xs-12 qrcode">
                @if(isset($siteConfig['qrcode_image']) && !empty($siteConfig['qrcode_image']))
                    @foreach($siteConfig['qrcode_image'] as $item)
                        <div class="card">
                            <img src="{{$item['image_url']??''}}" class="card-img-top"
                                 alt="{{$item['description']??''}}">
                            <div class="card-body">
                                <p class="card-text">{{$item['description']??''}}</p>
                            </div>
                        </div>
                    @endforeach
                @endif
            </div>

        </div>

        {{--版权、统计代码、隐私声明--}}
        <div class="copyright">
            <span class="copyright-content">{!! $siteConfig['copyright'] !!}<span
                    style="display: none">{!! $siteConfig['statistics_code'] !!}</span></span>
            @php($privacyCate = getCategory(29))
            @if($privacyCate)
                <a class="privacy" {{$privacyCate['href_']}} {{$privacyCate['href_target_']}} {{$privacyCate['rel_']}}>{{$privacyCate['name']}}</a>
            @endif
        </div>

    </section>
</div>

{{--留言、返回顶部--}}
<div id="slide-tools">
    @if(isset($guestbookConfig['status']) && $guestbookConfig['status'])
        <a href="{{url('guestbook.html')}}" id="guestbook-tool" class="mb-2" title="{{__('guestbook.guestbook_name')}}">
            <i class="fa-solid fa-comment-sms"></i>
        </a>
    @endif
    <a href="javascript:;" id="back-top" title="{{__('common.back_top')}}">
        <i class="fa-solid fa-angle-up"></i>
    </a>
</div>

{{--演示访问提示--}}
@isset(getCategory(30)->infoPage->title)
<x-modal id="demoAgreement" :title="getCategory(30)->infoPage->title" :message="getCategory(30)->infoPage->content" :show-footer="true" :ok-text="'已阅读'"/>
<script type="text/javascript" src="{{config('jishupucms.js')}}/jquery.cookie.js"></script>
<script>
    if (!$.cookie('demo_read_agreement')) {
        const modalObj = $('#demoAgreement');
        modalObj.modal('show');
        modalObj.find('.ok').click(function () {
            $.cookie('demo_read_agreement', 1, {path: '/'})
            modalObj.modal('hide');
        });
    }
</script>
@endisset
{{--在线客服代码--}}
{!! $siteConfig['online_service_code'] !!}
